package org.linlinjava.litemall.db.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 主播商户
 * </p>
 *
 * @author shuyi
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("litemall_gamch")
public class Gamch implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer uid;

    private Integer uniacid;

    /**
     * 商家名称
     */
    private String mchName;

    private String mark;

    /**
     * 头像
     */
    private String headimg;

    /**
     * 状态 1正常 0下架 2申请
     */
    private Integer istatus;

    /**
     * 登录账户
     */
    private String account;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 服务结束时间
     */
    private Integer endTime;

    /**
     * 浏览次数
     */
    private Integer times;

    /**
     * 销量
     */
    private Integer sales;

    /**
     * 已砍成功的
     */
    private Integer success;

    /**
     * 余额
     */
    private BigDecimal money;

    private String mchDesc;

    /**
     * 门店电话
     */
    private String tel;

    /**
     * 省
     */
    private String province;

    /**
     * 经度
     */
    private Integer lat;

    /**
     * 纬度
     */
    private Integer lng;

    private String city;

    private String country;

    private String street;

    private String content;

    private Integer sortid;

    /**
     * 店铺封面
     */
    private String cover;

    /**
     * 服务范围
     */
    private Integer severkm;

    /**
     * 服务时间点
     */
    private String severtime;

    /**
     * 0正常 1审核中
     */
    private Boolean verifystatus;

    /**
     * 累计收入
     */
    private BigDecimal totalmoney;

    private Integer number;

    /**
     * 0显示 1不显示
     */
    private Boolean isshow;

    private String aliname;

    private String aliaccount;

    /**
     * 最多发布商品数量
     */
    private Integer maxpub;

    /**
     * 0显示正常 1已下架
     */
    private Boolean showgoods;

    private BigDecimal serverfee;

    /**
     * 代理id
     */
    private Integer parent;

    /**
     * 累计代理提成
     */
    private BigDecimal giveparent;

    private String auth;

    private String ctp;

    private String ctc;

    private String ctd;

    private Integer createtime;

    private BigDecimal spsever;

    private Boolean iscpub;

    private String bindid;

    private Integer tradeid;

    private Integer cityid;

    /**
     * 0店铺星级
     */
    private BigDecimal rate;

    private Integer sorttwo;

    private BigDecimal spcut;


}
